package com.module_live.fragment.coachstudy;

import android.graphics.Bitmap;
import android.widget.ImageView;

import com.lib.fastkit.utils.log.LogUtil;
import com.lib.ui.fragment.BaseWebFragment;
import com.module_live.R;
import com.module_live.activity.CoachStudyLivingActivity;
import com.tencent.smtt.sdk.WebView;

public class StudentLuckyDrawWebFragment extends BaseWebFragment {

    //    WebView luckyWebview;
    String luckyUrl = "http://192.168.0.114:8848/activity.html#/questions/";

//    String luckyUrl = "https://h5.xuesituedu.com/xst_web/activity.html#/questions/";

//    String luckyUrl = "http://192.168.0.10:81/xst_web/activity.html#/questions/";
    ImageView ivHide;

    @Override
    protected void onCreateView(WebView webView) {

        luckyUrl = luckyUrl + CoachStudyLivingActivity.course_id;

        LogUtil.e("抽奖的地址为：" + luckyUrl);
//        luckyWebview.loadUrl(luckyUrl);
        webView.loadUrl(luckyUrl);

    }

    @Override
    protected int getLayoutId() {
        return R.layout.fragment_study_studentluckydraw;
    }

    @Override
    protected void myOnPageStarted(WebView webView, String s, Bitmap bitmap) {

    }

    @Override
    protected void myShouldOverrideUrlLoading(WebView webView, String url) {

    }

    @Override
    protected void myOnPageFinished(WebView webView, String s) {

    }

}
